import request from '@/utils/request'

// 大屏左上：物业企业信息
export const getRealtyOverview = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/houseRealtyManagement/query/realtyOverview',
    params: params,
  })
}

// 大屏左中：等级分布
export const getRealtyLevel = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/houseRealtyManagement/query/realtyLevel',
    params: params,
  })
}


// 大屏左下：物业企业信息TOP10
export const getTop10 = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/houseRealtyManagement/query/top10',
    params: params,
  })
}

// 大屏右上：物业企业项目信息
export const getRealtyProjectOverview = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/houseRealtyManagement/query/realtyProjectOverview',
    params: params,
  })
}

// 大屏右下：分城区统计
export const getRankingByType = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/houseRealtyManagement/query/rankingByType',
    params: params,
  })
}
